Feature: Edit post
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 0m 29.025s |
Scenario: Edit a post successfully
Before
0m 1.623s
Given
I navigate to page "http://localhost:2368/ghost/"
0m 1.579s
And
I enter email "<ADMIN_EMAIL>"
0m 0.479s
And
I enter password "<ADMIN_PASSWORD>"
0m 0.588s
And
I click on the login button
0m 0.723s
And
I wait for 2 seconds
0m 2.297s
When
I click on the new post button
0m 0.436s
And
I wait for 2 seconds
0m 2.257s
And
I write "Post nuevo" in the post title
0m 0.588s
And
I publish the new post
0m 1.035s
And
I wait for 2 seconds
0m 2.300s
And
I return to the posts list
0m 0.649s
And
I wait for 2 seconds
0m 2.302s
And
I filter posts by status Published
0m 0.509s
And
I wait for 2 seconds
0m 2.320s
And
I click in the first post in the list
0m 0.454s
When
I edit "Post editado" in the post title
0m 0.339s
And
I publish the edited post
0m 0.483s
And
I wait for 2 seconds
0m 2.272s
And
I return to the posts list
0m 0.444s
And
I wait for 2 seconds
0m 2.322s
And
I filter posts by status Published
0m 0.437s
And
I wait for 2 seconds
0m 2.282s
Then
I see that the first post in the list has title "Post editado"
0m 0.299s
After
0m 0.008s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/"
And
I enter email "<ADMIN_EMAIL>"
And
I enter password "<ADMIN_PASSWORD>"
And
I click on the login button
And
I wait for 2 seconds
When
I click on the new post button
And
I wait for 2 seconds
And
I write "Post nuevo" in the post title
And
I publish the new post
And
I wait for 2 seconds
And
I return to the posts list
And
I wait for 2 seconds
And
I filter posts by status Published
And
I wait for 2 seconds
And
I click in the first post in the list
When
I edit "Post editado" in the post title
And
I publish the edited post
And
I wait for 2 seconds
And
I return to the posts list
And
I wait for 2 seconds
And
I filter posts by status Published
And
I wait for 2 seconds
Then
I see that the first post in the list has title "Post editado"
After
NO IMAGE AVAILABLE